8ea024cc10228a059bea889e4383d44f4a275510,jaxrs-clients/src/test/java/com/palantir/remoting1/jaxrs/JaxRsClientConfigTest.java,ProxyingEchoServer,run,#Configuration#Environment#,135
Before Change
@Override
public void run(Configuration config, final Environment env) throws Exception {
env.jersey().register(new TestEchoResource());
JerseyServers.configure(env.jersey().getResourceConfig(),
JerseyServers.StacktracePropagation.DO_NOT_PROPAGATE);
}
private static final class TestEchoResource implements TestService {
After Change
public static final class ProxyingEchoServer extends Application<Configuration> {
@Override
public void run(Configuration config, final Environment env) throws Exception {
env.jersey().register(HttpRemotingJerseyFeature.DEFAULT);
env.jersey().register(new TestEchoResource());
}